encoding/json/jsontext.objectNamespaceStack.Last (method)

13 uses

	encoding/json/jsontext (current package)
		decode.go#L586: 				if d.Tokens.Last.isActiveNamespace() && !d.Namespaces.Last().insertQuoted(d.buf[pos-n:pos], flags.IsVerbatim()) {
		decode.go#L747: 				if d.Tokens.Last.isActiveNamespace() && !d.Namespaces.Last().insertQuoted(d.buf[pos-n:pos], flags.IsVerbatim()) {
		decode.go#L978: 		names = d.Namespaces.Last()
		encode.go#L299: 			e.Namespaces.Last().removeLast()
		encode.go#L327: 			e.Namespaces.Last().removeLast()
		encode.go#L380: 				if e.Tokens.Last.isActiveNamespace() && !e.Namespaces.Last().insertQuoted(b[pos:], false) {
		encode.go#L483: 				if e.Tokens.Last.isActiveNamespace() && !e.Namespaces.Last().insertQuoted(b[pos:], isVerbatim) {
		encode.go#L565: 				if e.Tokens.Last.isActiveNamespace() && !e.Namespaces.Last().insertQuoted(b[pos:], false) {
		encode.go#L742: 		names = e.Namespaces.Last()
		state.go#L692: 		nss.Last().reset()
		state.go#L699: func (nss objectNamespaceStack) Last() *objectNamespace {

	encoding/json/v2
		arshal_default.go#L1276: 					return xe.Namespaces.Last().InsertUnquoted(name)
		arshal_default.go#L1350: 						if !uo.Flags.Get(jsonflags.AllowDuplicateNames) && !xd.Namespaces.Last().InsertUnquoted(name) {